import Vue from 'vue'
import Router from 'vue-router'
// real
import Home from './views/Home.vue'
import Find from './views/Find.vue'
import User from './views/User.vue'

// skeleton
import SkeHome from './views/skeleton/SkeHome.vue'
import SkeFind from './views/skeleton/SkeFind.vue'
import SkeUser from './views/skeleton/SkeUser.vue'

Vue.use(Router)

export default new Router({
  routes: [
    // real resource
    {
      path: '/',
      name: 'home',
      component: Home
    },
    {
      path: '/find',
      name: 'find',
      component: Find
    },
    {
      path: '/user',
      name: 'user',
      component: User
    },

    // skeleton
    {
      path: '/ske/',
      name: 'skeHome',
      component: SkeHome
    },
    {
      path: '/ske/find',
      name: 'skeFind',
      component: SkeFind
    },
    {
      path: '/ske/user',
      name: 'skeUser',
      component: SkeUser
    },
  ]
})
